//
//  PerfectContentView.h
//  SHHCPhone
//
//  Created by sheng long on 14-6-18.
//  Copyright (c) 2014年 sheng long. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TextFieldView.h"
#import "PerfectSelectView.h"
#import "SelectPickerView.h"

#define IMAGE_MAX_SIZE_WIDTH    150                                                 //压缩图片宽度
#define IMAGE_COMPRESSION_QUALITY                0.3                                //图片压缩质量
#define IMAGE_NAME      @"IMAGE_NAMEIMAGE_NAME.png"

@protocol PerfectContentViewDelegate
-(void)done:(NSDictionary*)dic;
@end

@interface PerfectContentView : UIView<UITextFieldDelegate,SelectPickerViewDelegate,UIActionSheetDelegate,UINavigationControllerDelegate,UIImagePickerControllerDelegate,PerfectSelectViewDelegate>
{
    UIScrollView *mainScroll;
    
    UIButton *headButton;
    
    TextFieldView *selectField;
    TextFieldView *field1;
    TextFieldView *field2;
    TextFieldView *field3;
    TextFieldView *field4;
    TextFieldView *field5;
    TextFieldView *field6;
    
    PerfectSelectView *seletView1;
    PerfectSelectView *seletView2;
    
    UIButton *doneButton;
}


@property (nonatomic,assign) id<PerfectContentViewDelegate> delegate;

@property (nonatomic,assign) UIViewController *UIVC;

//保存图片到document
- (void)saveImage:(UIImage *)tempImage;

@end
